package group.program.Service.impl;

import group.program.Service.DocumentService;
import group.program.mapper.DocumentMapper;
import group.program.pojo.Document;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class DocumentServiceImpl implements DocumentService {
    @Autowired
    private DocumentMapper documentMapper;
    @Override
    public Document selectByTitle(String title) {
        return documentMapper.selectByTitle(title);
    }
}
